home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.cs.arizona.edu
/
ftp.cs.arizona.edu.tar
/
ftp.cs.arizona.edu
/
icon
/
newsgrp
/
group95b.txt
/
000150_icon-group-sender _Thu Sep 7 13:22:42 1995.msg
< prev
next >
Wrap
Internet Message Format
|
1995-09-18
|
797b
Received: by cheltenham.cs.arizona.edu; Thu, 7 Sep 1995 16:22:33 MST
Date: Thu, 7 Sep 1995 13:22:42 -0700
From: Gregg Townsend <gmt>
Message-Id: <9509072022.AA17488@hawk.CS.Arizona.EDU>
To: Steve_Graham@vos.stratus.com, icon-group@cs.arizona.edu
Subject: Re: Output files in Icon
Errors-To: icon-group-errors@cs.arizona.edu
From: Steve_Graham@vos.stratus.com
How does one specify the file/device to which you are trying to output?
Just pass the file value as an argument to write(). For example:
outfile := open(filename, "w") | stop("can't open ", filename)
write(outfile, "Here comes the output....")
Gregg Townsend / Computer Science Dept / Univ of Arizona / Tucson, AZ 85721
+1 520 621 4325 gmt@CS.Arizona.EDU 110 57 16 W / 32 13 45 N / +758m